package com.intelligent.system.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 标签创建并关联DTO
 */
@Data
@ApiModel(description = "标签创建并关联参数")
public class TagCreateAndAssociateDTO {
    
    @NotBlank(message = "标签名称不能为空")
    @ApiModelProperty(value = "标签名称", required = true, example = "系统标签")
    private String tagName;
    
    @NotNull(message = "对象ID不能为空")
    @ApiModelProperty(value = "对象ID", required = true, example = "1")
    private Long objectId;
    
    @NotNull(message = "对象类型不能为空")
    @ApiModelProperty(value = "对象类型", required = true, example = "1")
    private Integer objectType;
} 